package com.ruicar.afs.cloud.afscase.channel.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.ruicar.afs.cloud.common.core.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import lombok.Data;

/**
 * @author: sang jian
 * @date: 2020/5/27 17:07
 * @description:
 */

@Data
@ApiModel(value = "合作商车商表")
@TableName("channel_coope_cardealer")
public class ChannelCoopeCardealer extends BaseEntity<ChannelCoopeCardealer> {

    private static final long serialVersionUID = 8591175784653640213L;

    /**
     * 渠道ID
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long channelId;
    /**
     * 车商ID
     */
    @JsonSerialize(using= ToStringSerializer.class)
    @JSONField(serializeUsing = com.alibaba.fastjson.serializer.ToStringSerializer.class)
    private Long cardealerId;
    /**
     * 关联人员账号
     */
    private String associAccount;
    /**
     * 二手车关联人员账号
     */
    private String associAccountOld;
    /**
     * 车商类型;01-普通车商
     * 02-直营车商
     */
    private String cardealerType;
    private String status;
    /**
     * 审批备注
     * */
    private String approveRemark;
    /**
     * 纳税人识别号
     */
    private String taxpayerIdNumber;

}
